import {Index} from '../index/index-model.js';
var index = new Index();
Page({
  data: {

  },
  onLoad(options) { 
    index.getCategoryProducts(options.id,(data)=>{
      this.setData({
        productArr:data.data
      })
     
    })
  },

});
